<?php
/* @var $this yii\web\View */

$this->registerJsFile('/js/tools.js');
$this->registerJsFile('/js/jquery-3.4.1.min.js?v=0.0.0');
//$this->registerCssFile('/css/user/set_region.css?v=0.0.0');
$this->registerJsFile('/js/user/set_region.js?v=0.0.0');
$this->registerCssFile('/css/user/publish.css?v=0.0.0');
$this->registerJsFile('/js/user/publish.js?v=0.0.0');
?>

<div class="block p60 mt100">
	<form action="/user/info/set-region" id="region-set-form">
	    <input type="hidden" name='returnurl' value="<?= $returnurl?>"/>
	<div class="publish-outter">
	    <div class="publish-item-line">
	        <div class="goods_label "><span class="must-input">*</span>选择地区：</div>
			<div class="goods_input">
	            <select id="region_1" name="region_1">
	                <option value="0">--请选择--</option>
	                <?php foreach($region_first as $region1){ ?>
	                <option value="<?= $region1['id']?>"><?= $region1['name']?></option>
	                <?php }?>
	            </select>
				<select id="region_2" name="region_2"><option value="0">--请选择--</option></select>
				<select id="region_3" name="region_3"><option value="0">--请选择--</option></select>
				<span class="layui-btn layui-btn-normal" id="region-submit">确认</span>
			</div>
	    </div>
	</div>
	</form>
</div>